←Select platform

IndexOf Method

Summary

Searches for the specified object and returns the zero-based index of the first occurrence within the entire ListWithEvents<T>.

Syntax

C#
VB
C++
public int IndexOf( 
   T item 
) 
  
Public Function IndexOf( _ 
   ByVal item As T _ 
) As Integer 
public: 
int IndexOf(  
   _T^_ item 
)  

Parameters

item
The object to locate in the ListWithEvents<T>. The value can be null for reference types.

Return Value

The zero-based index of the first occurrence of item within the ListWithEvents<T>, if found; otherwise, -1.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly